package com.xiaoyu.lingdian.vo;

import java.util.ArrayList;
import java.util.List;

import com.xiaoyu.lingdian.entity.CoreTaobaoPic;
import com.xiaoyu.lingdian.vo.BaseVO;
import com.xiaoyu.lingdian.tool.DateUtil;

/**
* 淘宝表
*/
public class CoreTaobaoPicVO implements BaseVO {

	/**
	*标识UUID
	*/
	private String crtpcUuid;

	/**
	*淘宝号
	*/
	private String crtpcAccount;

	/**
	*淘宝文件
	*/
	private String crtpcFile;
	
	/**
	*淘宝文件列表
	*/
	private List<String> crtpcFileList = new ArrayList<String>();
	
	/**
	*创建日期
	*/
	private String crtpcCdate;

	/**
	*修改日期
	*/
	private String crtpcUdate;

	public void setCrtpcUuid(String crtpcUuid) {
		this.crtpcUuid = crtpcUuid;
	}

	public String getCrtpcUuid( ) {
		return crtpcUuid;
	}

	public void setCrtpcAccount(String crtpcAccount) {
		this.crtpcAccount = crtpcAccount;
	}

	public String getCrtpcAccount( ) {
		return crtpcAccount;
	}

	public void setCrtpcFile(String crtpcFile) {
		this.crtpcFile = crtpcFile;
	}

	public String getCrtpcFile( ) {
		return crtpcFile;
	}

	public void setCrtpcCdate(String crtpcCdate) {
		this.crtpcCdate = crtpcCdate;
	}

	public String getCrtpcCdate( ) {
		return crtpcCdate;
	}

	public void setCrtpcUdate(String crtpcUdate) {
		this.crtpcUdate = crtpcUdate;
	}

	public String getCrtpcUdate( ) {
		return crtpcUdate;
	}

	public List<String> getCrtpcFileList() {
		return crtpcFileList;
	}

	public void setCrtpcFileList(List<String> crtpcFileList) {
		this.crtpcFileList = crtpcFileList;
	}

	public CoreTaobaoPicVO( ) { 
	}

	@Override
	public void convertPOToVO(Object poObj) {
		if (null == poObj) {
			return;
		}

		CoreTaobaoPic po = (CoreTaobaoPic) poObj;
		this.crtpcUuid = po.getCrtpcUuid();
		this.crtpcAccount = po.getCrtpcAccount();
		this.crtpcFile = po.getCrtpcFile();
		this.crtpcCdate = po.getCrtpcCdate()!=null?DateUtil.formatDefaultDate(po.getCrtpcCdate()):"";
		this.crtpcUdate = po.getCrtpcUdate()!=null?DateUtil.formatDefaultDate(po.getCrtpcUdate()):"";
	}
//<=================定制内容开始==============
//==================定制内容结束==============>

}